home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
076-100
/
disk_076
/
include
/
devices
/
printer.g
< prev
next >
Wrap
Text File
|
1992-05-06
|
3KB
|
144 lines
/* requires previous inclusion of include:exec/io.g */
uint
PRD_RAWWRITE = CMD_NONSTD+0,
PRD_PRTCOMMAND = CMD_NONSTD+1,
PRD_DUMPRPORT = CMD_NONSTD+2;
byte
aRIS = 0,
aRIN = 1,
aIND = 2,
aNEL = 3,
aRI = 4,
aSGR0 = 5,
aSGR3 = 6,
aSGR23 = 7,
aSGR4 = 8,
aSGR24 = 9,
aSGR1 = 10,
aSGR22 = 11,
aSFC = 12,
aSBC = 13,
aSHORP0 = 14,
aSHORP2 = 15,
aSHORP1 = 16,
aSHORP4 = 17,
aSHORP3 = 18,
aSHORP6 = 19,
aSHORP5 = 20,
aDEN6 = 21,
aDEN5 = 22,
aDEN4 = 23,
aDEN3 = 24,
aDEN2 = 25,
aDEN1 = 26,
aSUS2 = 27,
aSUS1 = 28,
aSUS4 = 29,
aSUS3 = 30,
aSUS0 = 31,
aPLU = 32,
aPLD = 33,
aFNT0 = 34,
aFNT1 = 35,
aFNT2 = 36,
aFNT3 = 37,
aFNT4 = 38,
aFNT5 = 39,
aFNT6 = 40,
aFNT7 = 41,
aFNT8 = 42,
aFNT9 = 43,
aFNT10 = 44,
aPROP2 = 45,
aPROP1 = 46,
aPROP0 = 47,
aTSS = 48,
aJFY5 = 49,
aJFY7 = 50,
aJFY6 = 51,
aJFY0 = 52,
aJFY3 = 53,
aJFY1 = 54,
aVERP0 = 55,
aVERP1 = 56,
aSLPP = 57,
aPERF = 58,
aPERF0 = 59,
aLMS = 60,
aRMS = 61,
aTMS = 62,
aBMS = 63,
aSTBM = 64,
aSLRM = 65,
aCAM = 66,
aHTS = 67,
aVTS = 68,
aTBC0 = 69,
aTBC3 = 70,
aTBC1 = 71,
aTBC4 = 72,
aTBCALL = 73,
aTBSALL = 74,
aEXTEND = 75;
type
IOPrtCmdReq_t = struct {
Message_t iop_Message;
*Device_t iop_Device;
*Unit_t iop_Unit;
uint iop_Command;
ushort iop_Flags;
short iop_Error;
uint iop_PrtCommand;
ushort iop_Parm0, iop_Parm1, iop_Parm2, iop_Parm3;
},
IODRPReq_t = struct {
Message_t iodrp_Message;
*Device_t iodrp_Device;
*Unit_t iodrp_Unit;
uint iodrp_Command;
ushort iodrp_Flags;
short iodrp_Error;
*RastPort_t iodrp_RastPort;
*ColorMap_t iodrp_ColorMap;
ulong iodrp_Modes;
uint iodrp_SrcX, iodrp_SrcY, iodrp_SrcWidth, iodrp_SrcHeight;
ulong iodrp_DestCols, iodrp_DestRows;
uint iodrp_Special;
};
uint
SPECIAL_MILCOLS = 0x001,
SPECIAL_MILROWS = 0x002,
SPECIAL_FULLCOLS = 0x004,
SPECIAL_FULLROWS = 0x008,
SPECIAL_FRACCOLS = 0x010,
SPECIAL_FRACROWS = 0x020,
SPECIAL_ASPECT = 0x080,
SPECIAL_DENSITYMASK = 0xF00,
SPECIAL_DENSITY1 = 0x100,
SPECIAL_DENSITY2 = 0x200,
SPECIAL_DENSITY3 = 0x300,
SPECIAL_DENSITY4 = 0x400,
SPECIAL_CENTER = 0x040;
int
PDERR_CANCEL = 1,
PDERR_NOTGRAPHICS = 2,
PDERR_INVERTHAM = 3,
PDERR_BADDIMENSION = 4,
PDERR_DIMENSIONOVFLOW = 5,
PDERR_INTERNALMEMORY = 6,
PDERR_BUFFERMEMORY = 7;